package edu.nf.ch06.abs;

import edu.nf.ch06.product.MiPad;
import edu.nf.ch06.product.MiPhone;
import edu.nf.ch06.product.Pad;
import edu.nf.ch06.product.Phone;

/**
 * @author wangl
 * @date 2025/4/15
 */
public class XiaomiFactory implements AbstractFactory {

    @Override
    public Phone createPhone() {
        return new MiPhone();
    }

    @Override
    public Pad createPad() {
        return new MiPad();
    }
}